Ektron CMS400.Net Reference
The add content function allows you to programmatically add a new content block to Ektron CMS400.NET without the need of logging in.
Here is the format for the add content function:
<%= ecmAddContent (String UserName, String Password, String Domain, String content_title, String content_comment, String ContentHtml, String SummaryHTML, String ContentLanguage, String FolderID, String GoLive, String EndDate, String MetaInfo) %> |
This function is basically the same as the Add Content function in ASP. See Add Content for details.
The only difference between the JSP function and the ASP one is the syntax for implementing it. The JSP example is below.
The following is an example of the add content function in a template:
<tr> <td> <%= ecmAddContent ("admin", "admin", "", "Content Title", "Comment", "This is the <b>body</b> of the content.", "This is the <i>summary</i> for the content.", "1033", "0", "", "", "") %> </td> </tr> |